package com.kingtao.session;

import lombok.Data;

import java.util.Collections;
import java.util.Set;

/**
 * @Author: kingtao
 * @Date: 2023-08-25-14:16
 * @Description: 小组
 */
@Data
public class Group {
    //  组长
    private int master;
    //  组员
    private Set<Integer> members;

    public static final Group EMPTY_GROUP = new Group(-1, Collections.emptySet());

    public Group(int master, Set<Integer> members) {
        this.master = master;
        this.members = members;
    }
}
